Imports DAO
Imports DTO
Imports BUS
Public Class MainForm

    

    Private Sub RadioButton12_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbttnTKBLH11.CheckedChanged

    End Sub

    Private Sub CheckBox11_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbxVanNC2.CheckedChanged, cbx10Van.CheckedChanged, cbx11A.CheckedChanged

    End Sub

   


    Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim lhDAO As New DAO.LopHocDAO
        Dim dt As New DataTable()
        dt = lhDAO.LayBang()
        DGVLHDanhSachLopHoc.DataSource = dt
        Dim mhDAO As New DAO.MonHocDAO
        dt = mhDAO.LayBang()
        DGVMHDanhSachMonHoc.DataSource = dt
        Dim gvDAO As New DAO.GiaoVienDAO
        dt = gvDAO.LayBang()
        DGVGVDanhSachGiaoVien.DataSource = dt
        DGVLDGVDanhSachGiaoVien.DataSource = dt
    End Sub

    Private Sub rbtnPhanCongTheoLop_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbtnPhanCongTheoLop.CheckedChanged
        gbDanhSachMonHoc.Hide()
        gbDanhSachLopHoc.Show()
    End Sub

    Private Sub rbtnPhanCongTheoBoMon_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rbtnPhanCongTheoBoMon.CheckedChanged
        gbDanhSachLopHoc.Hide()
        gbDanhSachMonHoc.Show()
    End Sub



  

End Class
